package com.work.game.home.ui.model.vo;

import com.work.game.utils.RSAEncrypt;

import java.io.Serializable;

import cn.hutool.core.util.StrUtil;

/**
 * 副广记录表 biz_ad_record_secondary
 *
 * @author reasahi
 * @date 2024-09-29
 */
public class AdRecordSecondaryVo implements Serializable {
    private static final long serialVersionUID = 1L;
    private String token;
    /**
     * 实际金额
     */
    private String arsRealityMoney;
    /**
     * 渠道穿山甲（ad_pangle）、快手（ad_kuaishou）、优量汇（ad_gdt）
     */
    private String arsChannel;
    /**
     * 代码位
     */
    private String arsMediationRit;
    /**
     * 广告代码位
     */
    private String arsPositionCode;
    /**
     * 广告位
     */
    private String arsPrimeRit;
    /**
     * 广告位置
     */
    private String arsPosition;

    private String arsShowId;
    /**
     * 参数签名字符串
     */
    private String sign;

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getArsPositionCode() {
        return arsPositionCode;
    }

    public void setArsPositionCode(String arsPositionCode) {
        this.arsPositionCode = arsPositionCode;
    }

    public String getArsShowId() {
        return arsShowId;
    }

    public void setArsShowId(String arsShowId) {
        this.arsShowId = arsShowId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        if (StrUtil.isNotEmpty(token)) {
            this.token = RSAEncrypt.encrypt(token);
        } else {
            this.token = token;
        }
    }

    public String getArsRealityMoney() {
        return arsRealityMoney;
    }

    public void setArsRealityMoney(String arsRealityMoney) {
        this.arsRealityMoney = arsRealityMoney;
    }

    public String getArsChannel() {
        return arsChannel;
    }

    public void setArsChannel(String arsChannel) {
        this.arsChannel = arsChannel;
    }

    public String getArsMediationRit() {
        return arsMediationRit;
    }

    public void setArsMediationRit(String arsMediationRit) {
        this.arsMediationRit = arsMediationRit;
    }


    public String getArsPrimeRit() {
        return arsPrimeRit;
    }

    public void setArsPrimeRit(String arsPrimeRit) {
        this.arsPrimeRit = arsPrimeRit;
    }

    public String getArsPosition() {
        return arsPosition;
    }

    public void setArsPosition(String arsPosition) {
        this.arsPosition = arsPosition;
    }

    @Override
    public String toString() {
        return "AdRecordSecondaryVo{" +
                "arsChannel='" + arsChannel + '\'' +
                ", arsMediationRit='" + arsMediationRit + '\'' +
                ", arsPositionCode='" + arsPositionCode + '\'' +
                ", arsPrimeRit='" + arsPrimeRit + '\'' +
                ", arsPosition='" + arsPosition + '\'' +
                ", arsShowId='" + arsShowId + '\'' +
                '}';
    }
}

